package com.microblogforsim.model;

public class Index_Post {
    private String tid, time, from, content, img, shareNum, commentNum, goodNum;
    private User user;

    public Index_Post() {
    }

    public Index_Post(String tid, User user, String time, String from, String content, String img,
                      String shareNum, String commentNum, String goodNum) {
        this.tid = tid;
        this.user = user;
        this.time = time;
        this.from = from;
        this.content = content;
        this.img = img;
        this.shareNum = shareNum;
        this.commentNum = commentNum;
        this.goodNum = goodNum;
    }

    public String getId() {
        return tid;
    }

    public void setId(String id) {
        this.tid = id;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getFrom() {
        return from;
    }

    public void setFrom(String from) {
        this.from = from;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getShareNum() {
        return shareNum;
    }

    public void setShareNum(String shareNum) {
        this.shareNum = shareNum;
    }

    public String getCommentNum() {
        return commentNum;
    }

    public void setCommentNum(String commentNum) {
        this.commentNum = commentNum;
    }

    public String getGoodNum() {
        return goodNum;
    }

    public void setGoodNum(String goodNum) {
        this.goodNum = goodNum;
    }
}
